import request from "../utils/request"

export function getBlogByLimit(data) {
  return request({
    url: '/home/queryAllByLimit',
    method: 'get',
    params: data
  })
}

export function getBlogLatestRecommend(data) {
  return request({
    url: '/home/queryBlogLatestRecommend',
    method: 'get',
    params: data
  })
}

export function search(data) {
  return request({
    url: '/home/search',
    method: 'get',
    params: data
  })
}
